#include "mainwindow.h"

#include <QTextCodec>
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication::setQuitOnLastWindowClosed(true);
    QApplication a(argc, argv);
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));

    MainWindow w;
    QString s_title = "基于TheSCT思想的边缘检测验证程序";
    w.setWindowTitle(s_title);

    w.showMaximized();

    return a.exec();
}
